package com.gongfutrip.trans.client.common;

public class MessageSysFlag {
  public final static int COMPRESSED_FLAG = 0x1;

  public static int clearCompressedFlag(final int sysFlag) {
    return sysFlag & (~COMPRESSED_FLAG);
  }

  public static boolean compressed(final int sysFlag) {
    return (sysFlag & MessageSysFlag.COMPRESSED_FLAG) == MessageSysFlag.COMPRESSED_FLAG;
  }
}
